package com.pro.meeting.web.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.pro.meeting.bean.MeetingType;
import com.pro.meeting.service.MeetingTypeService;

@Controller
@RequestMapping("meetingType")
public class MeetingTypeController {
	@Autowired
	MeetingTypeService meetingTypeService;
	//有效的课题类别
	@ResponseBody
	@RequestMapping("getAll")
	public List<MeetingType> getAll(){
		
		return meetingTypeService.getAll();
	}
}
